﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Silver.TaskbarFormDemo
{
    public static class Win32Wrapper
    {
        [DllImportAttribute("user32.dll")]
        public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
        //发送消息//winuser.h 中有函数原型定义 
        [DllImportAttribute("user32.dll")]
        public static extern bool ReleaseCapture(); //释放鼠标捕捉winuser.h 
        [DllImportAttribute("user32.dll")] //winuser.h 
        private static extern Boolean ShowWindow(IntPtr hWnd, Int32 nCmdShow); 
    }
}
